package es.cursojavaee.jaxws.ws;

import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;

@WebService
@SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL)
public interface IHolaWebService {

    /**
     * @param nombre
     * @return
     */
    @WebResult(name = "saludo")
    String sayHello(@WebParam(name = "nombre") final String nombre);
}
